<?php
ob_start ();
require_once ('i/init.inc.php'); //初始化		


$app = Mid::app ();
$app->route = $route;
$app->run ();

//$tpl = Mid::template();
//$dbm = Mid::dbmagic();


$module = $_GET ['module'];
$action = $_GET ['action'];

include (Mid::path ( 'm/module/' . $module ));

//$tpl->display ( 'index.htm' );

//echo ' '; //防止浏览器的空输出忽略http状态码
ob_end_flush ();
?>
